﻿<?php
$host = 'gogorun.duckdns.org';
$username = 'root';
$password = '81132329';
$database = 'test';

// 创建连接对象
$con = new mysqli($host, $username, $password, $database);

// 检查连接状态
if ($con->connect_error) {
    die("连接失败: " . $con->connect_error);
}

// 设置字符集（解决中文乱码问题）
$con->set_charset("utf8mb4");

?>
